jquery radio button checked value

There are losts of way to get checked radio value.The easiest way is to use “:checked” selector.The checked selector is used to get checked radio.After getting it you can use is is(“:checked”) to check wather it is checked or not.For getting value you can use .val() function.

var $n = jQuery.noConflict(); //Jquery no conflict                
 $n("#btnsubmit").click(function() {        
                  var allRadio=$n('input[name=rdoarr[]]');                         
                jQuery.each(allRadio, function(i, singleradio) {   
                              alert(singleradio.value+" is "+ singleradio.checked);                  

     });                                
   });